﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BFOAuction.DAL.Auction;
using System.Data;

namespace BFOAuction.BLL.Auction
{
    public class BLL_Auction
    {
        public AppFormat.MyError LoadInfo(ref DTO.Auction.Auction objAuction, string strAuctionID)
        {
            return new DAL_Auction().LoadInfo(ref objAuction, strAuctionID);
        }
        public AppFormat.MyError Insert(DTO.Auction.Auction objAuction)
        {
            return new DAL_Auction().Insert(objAuction);
        }
        public AppFormat.MyError Update(DTO.Auction.Auction objAuction)
        {
            return new DAL_Auction().Update(objAuction);
        }
        public AppFormat.MyError Delete(string strAuctionID)
        {
            return new DAL_Auction().Delete(strAuctionID);
        }
        public AppFormat.MyError Select(ref DataTable dtResul, string strAuctionID)
        {
            return new DAL_Auction().Select(ref dtResul, strAuctionID);
        }
        public AppFormat.MyError SelectByUser(ref DataTable dtResul, string strCreateUser)
        {
            return new DAL_Auction().SelectByUser(ref dtResul, strCreateUser);
        }
    }
}
